package com.lt.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lt.crm.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【sys_user】的数据库操作Service
* @createDate 2024-06-18 16:58:48
*/
public interface SysUserService extends IService<SysUser> {

    SysUser getUserByUsrName(String username);

    String encryptPassword(String usrPassword);


    Page<SysUser> findUsers(String usrName, Integer roleId, Page<SysUser> page);

    Page<SysUser> findUsers2(String usrName, Integer roleId, Page<SysUser> page);

    int updatebyusrId(Integer usrId);

    int deletebyUsrId(Integer usrId);
}
